public IActionResult Add()
        {
            var model = new StaffAddModelHybrid {
                RoleList = EmployeeEnum.RoleList()
            };

            return(View(model));
        }
        public async Task <IActionResult> Edit(int?id)
        {
            if (id != null)
            {
                var result = await repositoryHandler.GetEntryByIDAsync(id.Value);

                var model = new StaffEditModelHybrid
                {
                    StaffId   = result.Id,
                    ShortName = result.ShortName,
                    FullName  = result.FullName,
                    Email     = result.Email,
                    Role      = (int)result.Role.Name,
                    RoleList  = EmployeeEnum.RoleList((int)result.Role.Name)
                };
                return(View(model));
            }
            return(RedirectToAction("Index"));
        }