public async Task <CustomSessin> Create(CustomSessin entity)
        {
            var Sessin = _repositoryCustomSessin.FirstOrDefault(x => x.Id == entity.Id);

            if (Sessin != null)
            {
                throw new UserFriendlyException("Custom Session Already exist");
            }

            else
            {
                return(await _repositoryCustomSessin.InsertAsync(entity));
            }
        }
 public void Update(CustomSessin entity)
 {
     _repositoryCustomSessin.Update(entity);
 }