public IActionResult PostAsync([FromBody] WorkdsInRelationship body) { var result = crudService.Find(); if (result == null) { return(BadRequest()); } return(Ok(result)); }
public async Task <bool> Add(WorkdsInRelationship worksInRelationship) { try { CrudReposiory.Add(worksInRelationship); return(true); } catch (Exception) { return(false); throw; } }
public void Add(WorkdsInRelationship worksInRelationship) { Console.WriteLine("helloooo"); }