routing monthly setup api from /api/profile/setmonthlyemail
This commit is contained in:
@ -19,7 +19,7 @@ namespace Yavsc.ApiControllers.accounting
|
|||||||
_userManager = userManager;
|
_userManager = userManager;
|
||||||
}
|
}
|
||||||
|
|
||||||
[HttpGet("memail/{allow}")]
|
[HttpGet("{allow}",Name ="setmonthlyemail")]
|
||||||
public async Task<object> SetMonthlyEmail(bool allow)
|
public async Task<object> SetMonthlyEmail(bool allow)
|
||||||
{
|
{
|
||||||
var user = await _userManager.FindByIdAsync(User.GetUserId());
|
var user = await _userManager.FindByIdAsync(User.GetUserId());
|
||||||
|
Reference in New Issue
Block a user