public ActionResult AddOwnerAsync(int id, string email) { CurrentUserModel.ValidateProject(id); User u = CurrentServiceModel.GetUserByEmail(email); if (u != null) { CurrentUserModel.AddProjectOwner(id, u.Id); return(Content("OK")); } else { return(Content("")); } }