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