public async Task <IActionResult> GetByIDAsync(Guid Id)
        {
            try
            {
                var entity = _mapper.Map <ClientesViewModel>(await _serviceBase.GetByIDAsync(Id));

                if (entity == null)
                {
                    return(NotFound(MessagesStatics.NotFoundRegister));
                }

                return(CreatedAtAction(nameof(GetByIDAsync), entity));
            }
            catch
            {
                return(BadRequest(MessagesStatics.ErrorSearch));
            }
        }