Adds messages api
This commit is contained in:
@@ -23,18 +23,16 @@ public class Users : EndpointGroupBase
|
||||
{
|
||||
return await sender.Send(query);
|
||||
}
|
||||
|
||||
|
||||
private static async Task<LoginResponse> Login(ISender sender, LoginCommand command)
|
||||
{
|
||||
return await sender.Send(command);
|
||||
}
|
||||
|
||||
|
||||
private static async Task<string> UploadProfilePicture(ISender sender, Stream stream)
|
||||
{
|
||||
var command = new UploadProfilePictureCommand
|
||||
{
|
||||
ProfilePicture = stream
|
||||
};
|
||||
var command = new UploadProfilePictureCommand { ProfilePicture = stream };
|
||||
|
||||
return await sender.Send(command);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user