Beispiel #1
0
        public IHttpActionResult UpdateCustomerInfoStatus([FromBody] Cust_Info customerinfo)
        {
            var custinfoRepo = new CustomerInfoRepository();
            var result       = custinfoRepo.UpdateCustomerInfoStatus(customerinfo);

            if (result <= 0)
            {
                return(Ok("Error occurred while updating the Customer Info status"));
            }
            return(Ok("Customer Info Status updated"));
        }