public int Insert(Core.Domain.User.Spartan_User_Alert_Type entity, Core.Domain.User.GlobalData UserInformation, Core.Domain.Data.DataLayerFieldsBitacora DataReference)
        {
            entity.Id = list.Last().Id++;
            list.Add(entity);

            return(entity.Id);
        }
        public int Update(Core.Domain.User.Spartan_User_Alert_Type entity, Core.Domain.User.GlobalData UserInformation, Core.Domain.Data.DataLayerFieldsBitacora DataReference)
        {
            var user = list.SingleOrDefault(v => v.Id == entity.Id);

            list.Remove(user);
            list.Add(entity);

            return(list.Count);
        }