public async Task <Login> Login(Login login) { var resObj = await apiService.makeAPICall <Login>(login, Constents.LoginURL.Login); if (resObj != null) { //Preferences.Set("LOGINUSER", JsonConvert.SerializeObject(resObj)); return(resObj); } return(resObj); }
public async Task <Face> uploadFace(Face face) { var resObj = await apiService.makeAPICall <Face>(face, Constents.FaceURL.GeneratePresigned); if (resObj != null) { //Preferences.Set("LOGINUSER", JsonConvert.SerializeObject(resObj)); return(resObj); } return(resObj); }