Slack.Automation/Promact.Erp.DomainModel/Migrations/Configuration.cs
Method Seed
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
protected override void Seed(Promact.Erp.DomainModel.Context.PromactErpContext context)
{
if (context.Question.Count() == 0)
{
Question firstQuestionTaskMail = new Question() { CreatedOn = DateTime.UtcNow, OrderNumber = QuestionOrder.YourTask, QuestionStatement = "On which task did you work today?", Type = BotQuestionType.TaskMail };