コード例 #1
0
        public ActionResult GetPatientBillPayments()
        {
            var responseModel = financeService.GetBillPayments();

            if (responseModel != null)
            {
                return(Ok(GetResponse(ResponseType.OBJECT, ResponseStatusCode.SUCCESS, responseModel)));
            }
            else
            {
                return(Ok(GetResponse(ResponseType.FAIL, ResponseStatusCode.FAIL, GetError(ErrorCodes.dataNotFound, "No data found", "Please add an patient bill payment record"))));
            }
        }