public virtual async Task <IActionResult> Update(StringModel <U> StringModel)
        {
            try
            {
                U updateDto = AESEncryptDecrypt <U> .DecryptStringAES(StringModel.Model);

                APIResult <Guid> result = await service.Update(updateDto, GetUserId <Y>());

                return(Ok(result));
            }
            catch (Exception)
            {
                return(Ok(new APIResult <Guid> {
                    IsSuccess = false
                }));
            }
        }
        public virtual async Task <IActionResult> Add(StringModel <A> StringModel)
        {
            try
            {
                A addDto = AESEncryptDecrypt <A> .DecryptStringAES(StringModel.Model);

                APIResult <Guid> result = await service.Add(addDto, GetUserId <Y>());

                return(Ok(result));
            }
            catch (Exception ex)
            {
                return(Ok(new APIResult <Guid> {
                    IsSuccess = false
                }));
            }
        }