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