Exemplo n.º 1
0
        public async Task <IActionResult> CreateSendBill(int departmentId, string deviceCode)
        {
            var client = await _clientAppService.GetClient(deviceCode);

            var result = await _billAppService.CreateSendBill(client.PlaceId, CurrentUser.UserId,
                                                              CurrentUser.DepartmentId);

            return(Json(result));
        }