public JsonNetResult GetEmployeesToGenerateEvalution(string period) { PeriodCreation periodCreation = new PeriodCreation(); periodCreation.Employees = ExecuteCommand(new GetEmployeesForEvaluationCommand(period)); return(Json(periodCreation)); }
public JsonNetResult GenerateEvalutions(PeriodCreation model) { ExecuteCommand(new GenerateEvaluationsCommand(model.Employees, model.Period)); return(Json(model.Employees.Count)); }