public async Task <bool> GetTest() { try { UserViewModel test = new UserViewModel(); test.id = 1; test.name = "22"; return(await _service.AddService(test)); } catch (Exception ex) { throw new Exception(ex.Message); } }
public async Task <bool> GetTest() { try { UserViewModel test = new UserViewModel(); test.id = 1; test.name = "22"; return(await _service.AddService(test)); } catch (Exception ex) { throw new Exception(ex.Message); } }