public async Task <EmployeeIterationGoals> AddEmployeeIterationGoal(EmployeeIterationGoals employeeIterationGoal)
        {
            _context.EmployeeIterationGoals.Add(employeeIterationGoal);
            await _context.SaveChangesAsync();

            return(employeeIterationGoal);
        }
        public async Task <EmployeeIterationGoals> UpdateEmployeeIterationGoal(EmployeeIterationGoals employeeIterationGoal)
        {
            var iterationGoal = await _context.EmployeeIterationGoals.Where(x => x.Id == employeeIterationGoal.Id)
                                .SingleOrDefaultAsync();

            iterationGoal.Weightage   = employeeIterationGoal.Weightage;
            iterationGoal.Description = employeeIterationGoal.Description;
            await _context.SaveChangesAsync();

            return(iterationGoal);
        }