public async Task SetUserDetails(int userId, UserDetailsViewModel userDetailsViewModel) { var succeed = await _queries.SetUserDetails(userId, userDetailsViewModel); if (!succeed) { throw new Exception("Couldn't set user details!"); } }
public async Task SetUserDetails(int userId, UserDetailsViewModel userDetailsViewModel) { var succeed = await _queries.SetUserDetails(userId, userDetailsViewModel); if (!succeed) { throw new Exception("Couldn't set user details!"); } }