public HttpResponseMessage UpdateScheduleType(HttpRequestMessage request, [FromBody] ScheduleType scheduleTypeModel)
        {
            return(GetHttpResponse(request, () =>
            {
                var scheduleType = _LoanService.UpdateScheduleType(scheduleTypeModel);

                return request.CreateResponse <ScheduleType>(HttpStatusCode.OK, scheduleType);
            }));
        }