Ejemplo n.º 1
0
        public async Task <IHttpActionResult> GetDirBankSumType(int id)
        {
            DirBankSumType dirBankSumType = await db.DirBankSumTypes.FindAsync(id);

            if (dirBankSumType == null)
            {
                return(NotFound());
            }

            return(Ok(dirBankSumType));
        }
Ejemplo n.º 2
0
 public async Task <IHttpActionResult> PostDirBankSumType(DirBankSumType dirBankSumType)
 {
     return(Ok(returnServer.Return(false, Classes.Language.Sklad.Language.msg57(0))));
 }