예제 #1
0
        // GET: Payment
        public async Task <ActionResult> MySettlementSheet()
        {
            var user = await accountService.GetUserId(User.Identity.Name);

            var ownerId = await accountService.GetOwnerId(user);

            var owner = await ownerService.GetDTO(ownerId);

            var SettlementSheet = await settlementSheetService.GetAll(owner);

            return(View(SettlementSheet));
        }
예제 #2
0
 // GET: Owner/Edit/5
 public async Task <ActionResult> Edit(Guid id)
 {
     return(View(await ownerService.GetDTO(id)));
 }