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);
 }
예제 #5
0
 public void AddFilledTool(FilledToolCoachee filedTool)
 {
     filedTool.Validate();
     this.FilledTool.Add(filedTool);
 }
예제 #6
0
 public void RemoveFilledTool(FilledToolCoachee filledTool)
 {
     this.FilledTool.Remove(filledTool);
 }
예제 #7
0
 public void RemoveFilledTool(FilledToolCoachee filledTool)
 {
     this.FilledTool.Remove(filledTool);
 }
예제 #8
0
 public void AddFilledTool(FilledToolCoachee filedTool)
 {
     filedTool.Validate();
     this.FilledTool.Add(filedTool);
 }