public async Task <BookDto> GetBook(int Id) { var parameters = new DynamicParameters(); parameters.Add("@Id", Id, DbType.Int32); return(await GetConnection.QueryFirstOrDefaultAsync <BookDto>("dbo.SpS_Book", parameters, commandType : CommandType.StoredProcedure)); }