public async Task <MarkAcceptStaffResult> MarkAcceptStaff([FromBody] ActingAcceptStaffModel model)
        {
            var res = await _positionAssignRepo.MarkAcceptStaff(model);

            //Console.WriteLine($"Element #{count}: {element}");


            if (res.Ok)
            {
                var History = new HistoryModel();    // Add to History all actions of relevancy
                {
                    History.StaffID         = model.StaffID;
                    History.MPLID           = model.MPLID;
                    History.HistoryDate     = DateTime.UtcNow;
                    History.HistoryAction   = model.Accept;
                    History.HistoryLocation = "Some Destínation";
                    History.ApplicationType = "Accept";
                    History.DateModified    = DateTime.UtcNow;
                    History.Status          = "Received";
                    //History.Accepted = assignation.Accept;
                    History.StartDate = model.StartDate;
                    History.EndDate   = model.EndDate;
                    //History.HistoryWho = UserName.UserName;
                    // History.HistoryWho = System.Security.Principal.WindowsIdentity.GetCurrent().Name;
                };



                _historyRepo.UpdateHistoryAccept(History);
            }



            //return res;


            //var res = _positionAssignRepo.MarkAccept(model);
            // return res;



            return(res);
        }