Ejemplo n.º 1
0
        public async Task <IActionResult> Create([Bind("Flat_ID,Flat_No,Floor,Block,FlatBuyDate,BHKs,CurrentStatus,FlatInchargeFirstName,FlatInchargeLastName,FlatInchargeContactNumber,FlatInchargeAlternateContactNumber,FlatInchargeEmail,AnnualMaintainaceCharges,OwnerID,Remarks")] FlatDetails flatDetails)
        {
            if (ModelState.IsValid)
            {
                _context.Add(flatDetails);
                await _context.SaveChangesAsync();

                return(RedirectToAction("Index"));
            }
            return(View(flatDetails));
        }
        public async Task <IActionResult> Create([Bind("Resident_ID,Tran_ID,CreditRechargeDate,RechargeAmount,Remarks")] ResidentRechargeHistory residentRechargeHistory)
        {
            if (ModelState.IsValid)
            {
                _context.Add(residentRechargeHistory);
                await _context.SaveChangesAsync();

                return(RedirectToAction("Index"));
            }
            return(View(residentRechargeHistory));
        }
Ejemplo n.º 3
0
        public async Task <IActionResult> Create([Bind("ServiceRequest_ID,HandyMan_ID,ServiceRequestImage,ServiceRequestDesc,ServiceRequestStatus,ServiceRequestStartDate,ServiceRequestEndDate,Remarks")] ServiceRequestChild serviceRequestChild)
        {
            if (ModelState.IsValid)
            {
                _context.Add(serviceRequestChild);
                await _context.SaveChangesAsync();

                return(RedirectToAction("Index"));
            }
            return(View(serviceRequestChild));
        }
        public async Task <IActionResult> Create([Bind("HandyMan_ID,VendorID,HandyMan_FirstName,HandyMan_LastName,PrimaryContactNo,SecondaryContactNo,Address,Gender,DOJ,DOR,Experties,Prvs_Org,Govt_ID_Proof,DocsSubmitted,Rating,Remarks,Photograph")] Vendors_HandyMan_Details vendors_HandyMan_Details)
        {
            if (ModelState.IsValid)
            {
                _context.Add(vendors_HandyMan_Details);
                await _context.SaveChangesAsync();

                return(RedirectToAction("Index"));
            }
            return(View(vendors_HandyMan_Details));
        }
Ejemplo n.º 5
0
        public async Task <IActionResult> Create([Bind("VendorID,VendorType,VendorName,VendorPhoto,VendorGps,ItemsAvailable,VendorContactNumber,VendorAlternateConatactNumber,VendorEmail,VendorAddress,Password,Hint,Remarks,Rating,Govt_ID_Proof")] VendorDetails vendorDetails)
        {
            if (ModelState.IsValid)
            {
                _context.Add(vendorDetails);
                await _context.SaveChangesAsync();

                return(RedirectToAction("Index"));
            }
            return(View(vendorDetails));
        }
        public async Task <IActionResult> Create([Bind("AEID,Role,FirstName,LastName,Gendar,DOJ,DOR,Prvs_Org,Qualifications,DocsSubmitted,AE_WorkRating,LoginID,Password,LastLogin,Remarks")] ArjithaEmployees arjithaEmployees)
        {
            if (ModelState.IsValid)
            {
                _context.Add(arjithaEmployees);
                await _context.SaveChangesAsync();

                return(RedirectToAction("Index"));
            }
            return(View(arjithaEmployees));
        }
        public async Task <IActionResult> Create([Bind("Resident_ID,Flat_ID,ResidentFirstName,ResidentLastName,ResidentPermanentAddress,ResidentContactNumber,Password,Hint,ResidentAlternateContactNumber,ServiceRequestCredits,ResidentGpsLocation,ResidentEmail,ResidentOccupancyDate,ResidentVacatedDate,ResidentEmploymentDetails,ResidentIdentityDetails,Remarks")] ResidentDetails residentDetails)
        {
            if (ModelState.IsValid)
            {
                _context.Add(residentDetails);
                await _context.SaveChangesAsync();

                return(RedirectToAction("Index"));
            }
            return(View(residentDetails));
        }
        public async Task <IActionResult> Create([Bind("OwnerID,OwnerFirstName,OwnerLastName,OwnerAddress,OwnerContactNumber,OwnerAlternateContactNumber,OwnerEmail,Remarks")] FlatOwnerDetails flatOwnerDetails)
        {
            if (ModelState.IsValid)
            {
                _context.Add(flatOwnerDetails);
                await _context.SaveChangesAsync();

                return(RedirectToAction("Index"));
            }
            return(View(flatOwnerDetails));
        }
        public async Task <IActionResult> Create([Bind("ServiceRequestID,IssueDescription,ServiceRequestSatus,ServiceRequestDate,Resident_ID,ServiceRequestHandlingStatus,ServiceRequestResolvedOn,ServiceRequestLastSeen,ServiceCharges,ServiceChargesPaid,PaymentDue,VendorID,QuoteID,Remarks")] ServiceRequest serviceRequest)
        {
            if (ModelState.IsValid)
            {
                _context.Add(serviceRequest);
                await _context.SaveChangesAsync();

                return(RedirectToAction("Index"));
            }
            return(View(serviceRequest));
        }