예제 #1
0
        public async Task <IHttpActionResult> UpdateDisDateRoomStatus(DischargeBillModel discharge)
        {
            if (discharge == null)
            {
                return(BadRequest("Please provide valid inputs!"));
            }

            if (await AddmissionService.UpdateDisDateRoomStatus(discharge))
            {
                return(Ok("Date and Status Updated Successfully!"));
            }
            else
            {
                return(BadRequest("Failed to Update Details!"));
            }
        }//end of update