Exemple #1
0
        public async Task <object> SubmitApplication(int id)
        {
            Result result = _approvalAppService.SubmitApplication(id);

            if (result.Id != 0)
            {
                await _signalrHubs.Send(result.Id.ToString(), "您有新的消息");
            }
            return(result);
        }
Exemple #2
0
 public object SubmitApplication(int id)
 {
     return(_approvalAppService.SubmitApplication(id));
 }