routing monthly setup api from /api/profile/setmonthlyemail
This commit is contained in:
parent
1ec2f60aeb
commit
13594ecc0c
1 changed files with 1 additions and 1 deletions
|
|
@ -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());
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue