public async Task <ActionResult> AddWeight(DashboardViewmodel viewmodel) { logic.AddWeight(viewmodel.Weight, viewmodel.User.Id); return(RedirectToAction("index", "Dashboard")); }