Ejemplo n.º 1
0
        public IHttpActionResult DeleteCustomerInfo([FromBody] Cust_Info customerinfo)
        {
            var customerinfoRepo = new CustomerInfoRepository();
            var result           = customerinfoRepo.DeleteCustomerInfo(customerinfo);

            if (result <= 0)
            {
                return(Ok("Error occurred while Deleting the customer info"));
            }
            return(Ok("Deleted Customer info"));
        }