//hostingEnvironmentPath - physical path to WebAPI folder //requestUriLeftPart - URL public async Task DeleteUserAccountAsync(string userEmail, string hostingEnvironmentPath, string requestUriLeftPart) { UserAccountInfo user = await GetUserAccountAsync(userEmail); await lotPhotoOperationsHandler.DeleteAllUserPhotosAsync(userEmail, hostingEnvironmentPath); UoW.UserAccounts.Delete(userEmail); await UoW.SaveChangesAsync(); }