public BaseModel.OperationResult <AppUser> GetAppUser(int AppUserID) { return(FunctionResultProxy.GetResult <OperationResult <AppUser> >(delegate(OperationResult <AppUser> r) { var sc = AppUserDal.Get(AppUserID); r.Data = sc; r.ActionResult = (r.Data != null); return r; })); }
public FunctionResult <AppUser> Get(int Id) { var r = new FunctionResult <AppUser>(); r.Data = AppUserDal.Get(Id); return(r); }