initial commit from an older template
This commit is contained in:
15
Services/UsersProfile/IUserProfileService.cs
Executable file
15
Services/UsersProfile/IUserProfileService.cs
Executable file
@@ -0,0 +1,15 @@
|
||||
using GamificationService.Models.Database;
|
||||
using GamificationService.Models.DTO;
|
||||
|
||||
namespace GamificationService.Services.UsersProfile;
|
||||
|
||||
public interface IUserProfileService
|
||||
{
|
||||
public Task<UserProfileDTO> AddUserProfile(long userId, UserProfileCreateDTO userProfile);
|
||||
public Task<UserProfile> AddUserProfile(UserProfile userProfile);
|
||||
public UserProfile? GetUserProfileByUserId(long id);
|
||||
public UserProfile? GetUserProfileById(long id);
|
||||
public Task<bool> UpdateUserProfileByUserId(long userId, UserProfileCreateDTO userProfile);
|
||||
public Task<bool> UpdateUserProfile(UserProfile userProfile);
|
||||
public bool DeleteUserProfile(long id);
|
||||
}
|
||||
Reference in New Issue
Block a user