public async Task <IHttpActionResult> GetAdminDetail(AdminDetailSearchViewModel model)
 {
     return(Ok(await WebApiService.Instance.PostAsync <AdminDetailViewModel>($"notification/admin/detail", model)));
 }
        public async Task <IHttpActionResult> PayProcessAdmin(AdminDetailSearchViewModel model)
        {
            await WebApiService.Instance.PostAsync("notification/admin/payprocess", model);

            return(Ok());
        }
示例#3
0
 public IHttpActionResult GetPayAdminDetail(AdminDetailSearchViewModel model)
 {
     return(Ok(NotificationService.GetAdminPayDetail(model)));
 }
示例#4
0
 public IHttpActionResult PayProcessAdmin(AdminDetailSearchViewModel model)
 {
     NotificationService.PayProcessAdmin(model.ToServiceRequestModel());
     return(Ok());
 }
示例#5
0
        public IHttpActionResult GetAdminDetail(AdminDetailSearchViewModel model)
        {
            Guid roleId = User != null && User.Identity != null && User.Identity.GetUserLoginInfo() != null?User.Identity.GetUserLoginInfo().RoleId : Guid.Empty;

            return(Ok(NotificationService.GetAdminDetail(model, roleId)));
        }