public async Task <IActionResult> GetProfitPierdere(string id, string an)
 {
     return(Json(await _dashboardManager.GetProfitPierdere(id, an)));
 }
예제 #2
0
        public async Task <IActionResult> GetProfitPierdere(string an)
        {
            var clientId = _context.ApplicationUsers.FirstOrDefault(u => u.UserName == User.Identity.Name).ClientId;

            return(Json(await _dashboardManager.GetProfitPierdere(clientId.ToString(), an)));
        }