public async Task <Response> RegisterShoppingUser(ShoppingUser detail) { var data = JsonConvert.SerializeObject(detail); var result = await CallPostFunction(data, RegisterShoppingUserAction); return(result); }
public ShoppingUserModel GetUserModelFromDbData(ShoppingUser dbUser) { return(new ShoppingUserModel { Id = dbUser.Id, Email = dbUser.Email, UserName = dbUser.UserName, Settings = new ShoppingUserSettingsModel { FirstName = dbUser.FirstName, LastName = dbUser.LastName, StandardUserGroupId = dbUser.StandardUserGroupId } }); }