routing monthly setup api from /api/profile/setmonthlyemail

This commit is contained in:
Paul Schneider 2018-12-11 09:23:51 +00:00
commit 13594ecc0c

View file

@ -19,7 +19,7 @@ namespace Yavsc.ApiControllers.accounting
_userManager = userManager;
}
[HttpGet("memail/{allow}")]
[HttpGet("{allow}",Name ="setmonthlyemail")]
public async Task<object> SetMonthlyEmail(bool allow)
{
var user = await _userManager.FindByIdAsync(User.GetUserId());