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()); }
public IHttpActionResult GetPayAdminDetail(AdminDetailSearchViewModel model) { return(Ok(NotificationService.GetAdminPayDetail(model))); }
public IHttpActionResult PayProcessAdmin(AdminDetailSearchViewModel model) { NotificationService.PayProcessAdmin(model.ToServiceRequestModel()); return(Ok()); }
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))); }