예제 #1
0
 public GeneralPaymentsController_Backup()
 {
     _accountheadService     = new AccountHeadService();
     _employeeService        = new EmployeeService();
     _generalpaymentsService = new GroupGeneralPaymentsService();
     _groupReceiptService    = new GroupReceiptService();
     _bankService            = new BankService();
 }
예제 #2
0
        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"));
        }
예제 #3
0
        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 }));
        }
예제 #4
0
 public GroupGeneralPaymentController()
 {
     _masterService = new MasterService();
     _groupGeneralPayemntService = new GroupGeneralPaymentsService();
     _groupOtherReceiptService   = new GroupOtherReceiptService();
 }