public GrantPermissionDto CreateGrantPermission(GrantPermissionDto grantPermissionDto)
        {
            var grant = _mapper.Map <GrantPermission>(grantPermissionDto);
            int res   = _repo.Create(grant);

            if (res <= 0)
            {
                return(null);
            }
            return(grantPermissionDto);
        }
 public int Create(string sqlQuery, DynamicParameters param, CommandType commandType)
 {
     return(_grantPermissionRepository.Create(sqlQuery, param, commandType));
 }