public IHttpActionResult Post(UserRelationModel baseRequest) { var response = service.SaveUserRelation(baseRequest); return(Ok(response)); }
public BaseResponse <UserRelationModel> SaveUserRelation(UserRelationModel request) { return(base.Save <SYS_UserRelation, UserRelationModel>(request, (q) => q.UserRelationID == request.UserRelationID)); }