public async Task <IActionResult> EditProject(string id)
        {
            var result = await _logic.GetByIdProject(id);

            if (result.Succeed)
            {
                var adminProjects = await _userLogic.GetAllAdminProjects();

                ViewBag.AdminProjects = adminProjects.Data;
                return(View(result.Data));
            }
            return(RedirectToAction("Projects", "Admin"));
        }
        public async Task <IActionResult> ViewProject(string id)
        {
            var result = await _logic.GetByIdProject(id);

            return(View(result.Data));
        }