public GeneralPaymentsController_Backup() { _accountheadService = new AccountHeadService(); _employeeService = new EmployeeService(); _generalpaymentsService = new GroupGeneralPaymentsService(); _groupReceiptService = new GroupReceiptService(); _bankService = new BankService(); }
public ActionResult DeleteMemberPayments(string Id) { int AccountmasterId = DecryptQueryString(Id); if (AccountmasterId < 1) { return(RedirectToAction("MemberPaymentsLookup")); } ResultDto resultDto = new GroupGeneralPaymentsService().Delete(AccountmasterId, UserInfo.UserID); TempData["Result"] = resultDto; return(RedirectToAction("MemberPaymentsLookup")); }
public ActionResult DeleteJournal(string type, string Id) { int AccountmasterId = DecryptQueryString(Id); if (AccountmasterId < 1) { return(RedirectToAction("GroupJournalLookUp", new { type = type })); } GroupGeneralPaymentsService _groupGeneralPayemntService = new GroupGeneralPaymentsService(); ResultDto resultDto = _groupGeneralPayemntService.Delete(AccountmasterId, UserInfo.UserID); TempData["Result"] = resultDto; return(RedirectToAction("GroupJournalLookUp", new { type = type })); }
public GroupGeneralPaymentController() { _masterService = new MasterService(); _groupGeneralPayemntService = new GroupGeneralPaymentsService(); _groupOtherReceiptService = new GroupOtherReceiptService(); }