// 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)); }
// GET: Owner/Edit/5 public async Task <ActionResult> Edit(Guid id) { return(View(await ownerService.GetDTO(id))); }