public JsonPatchDocument <ApiTeamRequestModel> CreatePatch(ApiTeamRequestModel model)
        {
            var patch = new JsonPatchDocument <ApiTeamRequestModel>();

            patch.Replace(x => x.Name, model.Name);
            patch.Replace(x => x.OrganizationId, model.OrganizationId);
            return(patch);
        }
        public virtual ApiTeamRequestModel MapResponseToRequest(
            ApiTeamResponseModel response)
        {
            var request = new ApiTeamRequestModel();

            request.SetProperties(
                response.Name,
                response.OrganizationId);
            return(request);
        }
        public virtual ApiTeamResponseModel MapRequestToResponse(
            int id,
            ApiTeamRequestModel request)
        {
            var response = new ApiTeamResponseModel();

            response.SetProperties(id,
                                   request.Name,
                                   request.OrganizationId);
            return(response);
        }