public FilledToolCoachee Create(CreateFilledToolCoacheeCommand command) { var service = new FilledToolCoachee(command.EvaluationDate, command.IdEvaluationTool, command.IdCoachingProcess, command.IdCoachee); service.Validate(); _repository.Create(service); if (Commit()) return service; return null; }
public void Update(FilledToolCoachee FilledTool) { _context.Entry<FilledToolCoachee>(FilledTool).State = EntityState.Modified; }
public void Delete(FilledToolCoachee FilledTool) { _context.FilledToolCoachee.Remove(FilledTool); }
public void Create(FilledToolCoachee FilledTool) { _context.FilledToolCoachee.Add(FilledTool); }
public void AddFilledTool(FilledToolCoachee filedTool) { filedTool.Validate(); this.FilledTool.Add(filedTool); }
public void RemoveFilledTool(FilledToolCoachee filledTool) { this.FilledTool.Remove(filledTool); }
public void RemoveFilledTool(FilledToolCoachee filledTool) { this.FilledTool.Remove(filledTool); }
public void AddFilledTool(FilledToolCoachee filedTool) { filedTool.Validate(); this.FilledTool.Add(filedTool); }