public async Task <ActionResult> ConfirmAppointment(AppointmentLogViewModel item) { var strUrl = APIProvider.APIGenerator("AppointmentLog", "Confirm", APIConstant.ACTION_UPDATE); var result = await APIProvider.Authorize_DynamicTransaction <AppointmentLogViewModel, bool>(item, _userSession.BearerToken, strUrl, APIConstant.API_Resource_CORE, ARS.IgnoredARS); if (result) { } return(RedirectToAction("Index")); }
public async Task <bool> Confirm(AppointmentLogViewModel appointmentModel, char action) { var data = Mapper.Map <AppointmentLogEdit>(appointmentModel); return(await _appointmentLog.Confirm(data, action)); }