public LoginResponse Logear(LoginRequest Request) { LoginResponse Response = new LoginResponse(); NapoleonDataAccess controller = new NapoleonDataAccess(); clsUsuario entidad = new clsUsuario(); try { Response.Success = controller.Logear(Request.username, Request.password, Request.vchSitio, ref entidad); Response.CurrentUser = entidad; } catch (Exception egV) { throw egV; } return(Response); }