public void Update(Project model)
 {
     if (model == null)
         throw new ArgumentNullException("project");
     projectRepository.Update(model);
 }
 public int Insert(Project model)
 {
     if (model == null)
         throw new ArgumentNullException("project");
     return projectRepository.Insert(model);
 }