public async Task <IHttpActionResult> GetDirContractor2Type(int id) { DirContractor2Type dirContractor2Type = await db.DirContractor2Types.FindAsync(id); if (dirContractor2Type == null) { return(NotFound()); } return(Ok(dirContractor2Type)); }
public async Task <IHttpActionResult> PostDirContractor2Type(DirContractor2Type dirContractor2Type) { return(Ok(returnServer.Return(false, Classes.Language.Sklad.Language.msg57(0)))); }