public async Task <Goal> AddGoal(Goal goal) { _context.Goals.Add(goal); await _context.SaveChangesAsync(); return(goal); }
public async Task <Department> AddDepartment(Department department) { _context.Departments.Add(department); await _context.SaveChangesAsync(); return(department); }
public async Task <EmployeeRole> AddRole(EmployeeRole role) { _context.Roles.Add(role); await _context.SaveChangesAsync(); return(role); }
public async Task <Iteration> CreateNewIteration(Iteration iteration) { _context.Iteration.Add(iteration); await _context.SaveChangesAsync(); return(iteration); }
public async Task <EmployeeIterationGoals> AddEmployeeIterationGoal(EmployeeIterationGoals employeeIterationGoal) { _context.EmployeeIterationGoals.Add(employeeIterationGoal); await _context.SaveChangesAsync(); return(employeeIterationGoal); }
public async Task AddNewReportingManagerRequest(ReportingManagerRequest reportingManagerRequest) { _context.ReportingManagerRequests.Add(reportingManagerRequest); await _context.SaveChangesAsync(); }