public static async Task <ResultDTO <ErrorBE> > ModificarMarcasModelos(MarcaModeloBE.ResponseMarcaModeloBE oPerfil) { try { string post = url + "Modificar"; return(await ResultPCL <ErrorBE> .Post(post, oPerfil)); } catch (Exception ex) { throw ex; } }
public static async Task <ResultDTO <ErrorBE> > RegistrarMenu(MenuBE.ResponseMenuBE usuario) { try { string post = url + "Registrar"; return(await ResultPCL <ErrorBE> .Post(post, usuario)); } catch (Exception ex) { throw ex; } }
public static async Task <ResultDTO <ErrorBE> > RegistrarGuardia(GuardiaBE.ResponseGuardiaBE oPerfil) { try { string post = url + "Registrar"; return(await ResultPCL <ErrorBE> .Post(post, oPerfil)); } catch (Exception ex) { throw ex; } }
public static async Task<ResultDTO<ErrorBE>> ModificarArchivo(ArchivoBE.ResponseArchivoBE oPerfil) { try { string post = url + "Modificar"; return await ResultPCL<ErrorBE>.Post(post, oPerfil); } catch (Exception ex) { throw ex; } }
public static async Task<ResultDTO<int>> RegistrarArchivo(ArchivoBE.ResponseArchivoBE oPerfil) { try { string post = url + "RegistrarArchivo"; return await ResultPCL<int>.Post(post, oPerfil); } catch (Exception ex) { throw ex; } }
public static async Task <ResultDTO <ErrorBE> > ModificarDoctor(DoctorBE.ResponseDoctoreBE usuario) { try { string post = urlD + "Modificar"; return(await ResultPCL <ErrorBE> .Post(post, usuario)); } catch (Exception ex) { throw ex; } }
public static async Task <ResultDTO <ErrorBE> > ModificarUsuario(ResponseLoginBE usuario) { try { string post = urlU + "Modificar"; return(await ResultPCL <ErrorBE> .Post(post, usuario)); } catch (Exception ex) { throw ex; } }
public static async Task <ResultDTO <PerfilDTO> > RegistrarPerfil(PerfilDTO oPerfil) { try { string post = url + "Registrar"; return(await ResultPCL <PerfilDTO> .Post(post, oPerfil)); } catch (Exception ex) { throw ex; } }
public static async Task <ResultDTO <int> > NotificaLogin(RequestLoginBE requestLoginBE) { try { string post = url + "NotificaUsuario"; var result = await ResultPCL <int> .Post(post, requestLoginBE); return(result); } catch (Exception ex) { throw ex; } }
public static async Task <ResultDTO <Response> > Login(RequestLoginBE requestLoginBE) { try { string post = url + "AutenticarUsuario"; var result = await ResultPCL <Response> .Post(post, requestLoginBE); return(result); } catch (Exception ex) { throw ex; } }