public IEnumerable <ProjectTaskViewModel> Put(ProjectTask e)
 {
     e.UpdatedOn = DateTime.Now;
     e.UpdatedBy = System.Web.HttpContext.Current.User.Identity.GetUserId();
     return(repository.UpdateProjectTask(e));
 }
예제 #2
0
 public IEnumerable <ProjectTask> Put(ProjectTask pt)
 {
     return(ProjectTasksRepository.UpdateProjectTask(pt));
 }
 public List <ProjectTask> Put(ProjectTask pt)
 {
     return(ProjectTasksRepository.UpdateProjectTask(pt));
 }