public IHttpActionResult GetMockData([FromUri] string userid, [FromUri] string entityname, [FromUri] string name)
        {
            AppEntityDTO appEntityDTOs = new AppEntityDTO();

            appEntityDTOs = _service.GetAppEntity(userid, name, entityname);
            List <string> fieldNames = new List <string>();
            List <string> fieldTypes = new List <string>();

            foreach (EntityFieldDTO ef in appEntityDTOs.EntityFields)
            {
                fieldNames.Add(ef.FieldName);
                fieldTypes.Add(ef.FieldType);
            }
            _lib = new MockBuilder(fieldNames.ToArray(), fieldTypes.ToArray(), appEntityDTOs.EntityName);
            if (appEntityDTOs != null)
            {
                return(Ok(_lib.GetMocks()));
            }
            else
            {
                return(NotFound());
            }
        }