19 lines
357 B
C#
19 lines
357 B
C#
using BotSharp.Abstraction.Agents.Models;
|
|
|
|
namespace BotSharp.Core.Agents.ViewModels;
|
|
|
|
public class AgentCreationModel
|
|
{
|
|
public string Name { get; set; }
|
|
public string Description { get; set; }
|
|
|
|
public Agent ToAgent()
|
|
{
|
|
return new Agent
|
|
{
|
|
Name = Name,
|
|
Description = Description
|
|
};
|
|
}
|
|
}
|