public ContentResult editplayer(PlayerCoachRequest request) { request.MemberId = UserContext.WebUserContext.Id; var msg = string.Empty; var flag = _playerCoachService.Edit(request, out msg); return(Result <string>(flag, msg)); }
public void Edit() { string msg = string.Empty; service.Edit(new Model.dto.request.PlayerCoachRequest { IsCoach = false, IsPositive = true, MemberId = 13, ObjMemberId = 10, StartDate = "2017-01", Id = 4 }, out msg); }