Exemple #1
0
 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;
     }
 }
Exemple #2
0
 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;
     }
 }
Exemple #3
0
 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;
     }
 }
Exemple #4
0
 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;
     }
 }
Exemple #5
0
 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;
     }
 }
Exemple #6
0
 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;
     }
 }
Exemple #7
0
 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;
     }
 }
Exemple #8
0
 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;
     }
 }
Exemple #9
0
        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;
            }
        }
Exemple #10
0
        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;
            }
        }